package nancal.mp.db.mongo.entity.admin

import nancal.mp.db.mongo.base.MenuDefine
import nbcp.base.db.annotation.Cn
import nbcp.base.db.annotation.DbEntityGroup
import org.springframework.data.mongodb.core.mapping.Document
import java.time.LocalDateTime

@Cn("菜单")
@Document
@DbEntityGroup("admin")
data class AdminMenu(
    @Cn("创建时间")
        var createAt: LocalDateTime = LocalDateTime.now(),
    @Cn("更新时间")
        var updateAt: LocalDateTime? = null,
) : MenuDefine()